package com.liu.service.user;

import com.liu.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface UserService {
    //用户登录
    public User login(String userCode,String password);

    //修改当前用户密码
    public boolean updatePwd(int id,String pwd);

    //查询记录数
    public int getUserCount(String userName,int userRole) throws SQLException;

    //查询用户列表
    public List<User> getUserList(String queryUserName, int queryUserRole, int currentPageNo, int pageSize) throws SQLException;
}
